<?php
class Login_Model_Passwordcheckout implements Login_Model_Mainable{
    
    public function main(array $variables = null) {
        if(
                !isset($variables['post']['password']) ||
                !isset($variables['post']['password_two']) ||
                ($variables['post']['password'] != $variables['post']['password_two'])
                ){
            header("Location: ".SITE_ROOT."login.html");
        }
    }

}
